package app.web.cartoon.analyse.tags;

import cn.lily.com.exception.YaconException;
import cn.lily.com.lang.AppMessage;
import cn.lily.web.page.BusinessPage;
import cn.lily.web.widget.page.TPanel;
/**
 * 动漫Edit
 * @author JiaJ
 * @date 2017年12月7日
 *
 */
public class CartoonDetailEdit extends BusinessPage { 

	 public void page_onLoad() throws YaconException {

		 TPanel cartoonDetailPanel = Panel("cartoonDetailPanel");
		 cartoonDetailPanel.creatToolbar().setBarText("动漫信息明细表编辑");

		 Form("cartoonDetailForm").setDictTable("LEO_CAN_DETAIL_INFO");

		 Form("cartoonDetailForm").createFormCell(Input("RES_ID"));
		 Form("cartoonDetailForm").createFormCell(Input("CAN_ID"));
		 Form("cartoonDetailForm").createFormRow();

		 Form("cartoonDetailForm").createFormCell(Input("CAN_DETAIL_NAME"));
		 Form("cartoonDetailForm").createFormRow();

		 Form("cartoonDetailForm").createFormCell(Drop("CAN_QUA"));
		 Form("cartoonDetailForm").createFormCell(Drop("CAN_KIND"));
		 Form("cartoonDetailForm").createFormRow();

		 Form("cartoonDetailForm").createFormCell(Drop("CAN_STAT"));
		 Form("cartoonDetailForm").createFormCell(Input("CAN_TOTAL"));
		 Form("cartoonDetailForm").createFormRow();

		 Form("cartoonDetailForm").createFormCell(Drop("CAN_TIME"));
		 Form("cartoonDetailForm").createFormRow();
		 
		 Form("cartoonDetailForm").createFormCell(Input("CAN_FIRM_MEMO"));
		 Form("cartoonDetailForm").createFormRow();

		 Form("cartoonDetailForm").createFormCell(Input("CAN_TYP_MEMO"));
		 Form("cartoonDetailForm").createFormRow();
		 
		 Form("cartoonDetailForm").createFormCell(TextArea("CAN_DEMO").setAreaRow(12));
		 Form("cartoonDetailForm").createFormRow();	

		 cartoonDetailPanel.createPanelCell(Form("cartoonDetailForm"));
		 cartoonDetailPanel.creatStatusBar().addElement(Button("save"));
		 cartoonDetailPanel.getStatusBar().addElement(Button("exit"));
		 getPage().addElement(cartoonDetailPanel);

	 }


}
